
import App from './App'

// #ifndef VUE3
import store from './store/index.js'
import Vue from 'vue'
import httpApi from './common/httpLbApi'
import HttpRequest from './common/httpRequest'
import configs from './common/config.js'
import uView from 'uview-ui'
import noclick from './common/noclick.js'
import 'font/YouSheBiaoTiHei-2.ttf'
import 'font/Alimama_DongFangDaKai_Regular.ttf'
import zdyTabbar from "components/tabbar/zdy-tabbar.vue"

// 注册全局组件
Vue.component('zdy-tabbar', zdyTabbar)

// import 'font/zcool-gdh_Regular.ttf'
import screenTextScroll from './components/p-screenTextScroll/screenTextScroll.vue'
Vue.component('textscroll', screenTextScroll)

Vue.prototype.$noMultipleClicks = noclick.noMultipleClicks



Vue.use(uView);



Vue.config.productionTip = false
Vue.prototype.$api = httpApi
Vue.prototype.$Request = HttpRequest
Vue.prototype.$configs = configs
App.mpType = 'app'
const app = new Vue({
  ...App,
    store
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app,
    store
  }
}
// #endif